﻿using Heroius.Extension;
using Heroius.Files;
using System.Collections.Generic;

namespace IEPI.BIATranscribe
{
    public class PageInfo : ObservableEntity
    {
        public PageInfo()
        {
            Trans = new ImageTransInfo();
            Data = new Dictionary<string, string>();
        }

        [EntitySilo]
        public ImageTransInfo Trans { get { return _Trans; } set { _Trans = value; RaisePropertyChangedEvent("Trans"); } }
        ImageTransInfo _Trans;
        [EntitySilo]
        public int Code { get { return _Code; } set { _Code = value; RaisePropertyChangedEvent("Code"); } }
        int _Code;
        [EntitySilo]
        public bool Finished { get { return _Finished; } set { _Finished = value; RaisePropertyChangedEvent("Finished"); } }
        bool _Finished = false;
        [EntitySilo]
        public Dictionary<string, string> Data { get; set; }
    }
}
